const { Controller } = require('egg');
class BaseController extends Controller {
  async index() {
    const list = await this.app.mysql.select('product_cats');
    this.ctx.service.goodsfactory.production(list, 1)
  }
}
module.exports = BaseController;